home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / amos / intuiextend16.lha / bonus / easylife / demos / Shorten.doc < prev    next >
Text File  |  1992-02-26  |  2KB  |  74 lines

  1.  
  2.                  AMOS Pro Program Shortener Version 1.00 
  3.                  =======================================
  4.  
  5.                     By Paul Hickman (ph@doc.ic.ac.uk)
  6.                     =================================
  7.  
  8.  
  9.  
  10. OVERVIEW
  11. ========
  12.  
  13. The program shortener simply makes programs shorter! It does not compress
  14. them - it actualy shortens them! This is done in 2 ways:
  15.  
  16. 1) Removing all comments and blank lines
  17.  
  18. 2) Replacing the names of long variables/label/procedure names with shorter
  19.    ones.
  20.  
  21.  
  22. REQUIREMENTS
  23. ============
  24.  
  25. Any version of AMOS Pro. Enough memory to load the accessory,
  26. and the program to shorten simultaneously. Easylife V1.4+
  27.  
  28.  
  29. DISTRIBUTION
  30. ============
  31.  
  32. This progam may be freely distributed, as long as no profit is
  33. made from doing so. It may not be put on a disk together with 
  34. programs for which a profit is made from distributing them.
  35.  
  36.  
  37.  
  38. USAGE
  39. =====
  40.  
  41. Load the Program shortener as an AMOS Pro accessory program, and the
  42. program to be shortened into the buffer. Then test the program to be
  43. shorten, and run the accessory from the 'AMOS' menu. Select the method
  44. of shortening, and wait...
  45.  
  46. Variables:    Remove comments & Blank lines, and shorten variable,
  47.                 procedure and label names.
  48.  
  49. Comments:    Remove comments & Blank lines only.
  50.  
  51.  
  52. Comments will work on any program. Variables will not work on 
  53. programs which use wildcards in Global / Shared statments, or contain
  54. procedures which cannot be unfolded and have argument variable names
  55. of 2 characters or more.
  56.  
  57.  
  58. NOTE: If you abort a 'variables' mode shortening, midway thourgh the
  59.       program will not be left in a runable state.
  60.  
  61. NOTE: If your program contains any goto or gosub statement for which the
  62.       label to branch to is calculated, no labels in anywhere in the
  63.       program will be shortened - only variables & procedure names.
  64.  
  65.  
  66. Comming in V1.1
  67. ===============
  68.  
  69.   - Production of a symbol table of new & old variable names.
  70.  
  71.   - The bug with procedure which cannot be unfoled will be fixed. (I Hope)
  72.  
  73.   - Singing, dancing, and rollerskating aardvark.
  74.